Implementation of Rabin Karp String Matching Algorithm Using MPI

نویسندگان

  • Nupur Kohli
  • Rushikesh Joshi
چکیده

Searching for occurrences of string patterns is a common problem in many applications. One of the easiest approaches is to search a pattern in a text character by character. But this method becomes very slow when we deal with long patterns. Various good solutions like Naïve string Matcher, Knuth-Morris-Pratt (KMP), Rabin Karp (RK), etc have already been presented for string matching and we selected Rabin Karp for this project. However, the main focus of this project is to apply the concepts of parallelism to further improve the performance of the algorithm. There are lots of parallel processing languages and API’s available like OpenMP, MPI, MapReduce, etc and we chose MPI and OpenMP to achieve parallelism for this project. We started with analyzing the algorithm in serial mode to get a better understanding of the nature of the algorithm and then further design it for achieving parallelism. Later comparing the results of both serial and parallel implementation gave us insights into how performance and efficiency is achieved through various techniques of Parallelism.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parallel Implementation of Exact Two Dimensional Pattern Matching Algorithms using MPI and OpenMP

The need for processing power is constantly increasing as more processing-demanding and time-critical applications appear. Parallel processing has emerged as an efficient and costeffective solution, since low-end workstations and multiprocessors are cheaply available in the commodity market. In this paper, experimental results are presented on the parallel processing of the Naive, Karp and Rabi...

متن کامل

Neweyes: A System for Comparing Biological Sequences Using the Running Karp-Rabin Greedy String-Tiling Algorithm

A system for aligning nucleotide or amino acid biosequences is described. The system, called Neweyes, employs a novel string matching algorithm. Running Karp-Rabin Greedy String Tiling (RKR-GST), which involves tiling one string with matching substrings of a second string. In practice, RKR-GST has a computational complexity that appears close to linear. With RKR-GST, Neweyes is able to detect t...

متن کامل

Running Karp-Rabin Matching and Greedy String Tiling

A system for aligning nucleotide or amino acid biosequences is described. The system, called Neweyes, employs a novel string matching algorithm, Running Karp-Rabin Greedy String Tiling (RKR-GST), which involves tiling one string with matching substrings of a second string. In practice, RKR-GST has a computational complexity that appears close to linear. With RKR-GST, Neweyes is able to detect t...

متن کامل

Faster Algorithms for String Matching Problems: Matching the Convolution Bound

In this paper we give a randomized O(n logn)-time algorithm for the string matching with don't cares problem. This improves the Fischer-Paterson bound 10] from 1974 and answers the open problem posed (among others) by Weiner 30] and Galil 11]. Using the same technique, we give an O(n logn)-time algorithm for other problems, including subset matching and tree pattern matching 15, 21, 9, 7, 17] a...

متن کامل

Multiple Pattern String Matching Methodologies: A Comparative Analysis

String matching algorithms in software applications like virus scanners (anti-virus) or intrusion detection systems is stressed for improving data security over the internet. String-matching techniques are used for sequence analysis, gene finding, evolutionary biology studies and analysis of protein expression. Other fields such as Music Technology, Computational Linguistics, Artificial Intelli...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014